package semiproject.models;

public class SubjectVO {
	private int subno;
	private String name;
	private String subSummary;
	
	public SubjectVO(String name, String subSummary) {
		this.name = name;
		this.subSummary = subSummary;
	}

	public int getSubno() { return subno; }
	public void setSubno(int subno) { this.subno = subno; }

	public String getName() { return name; }
	public void setName(String name) { this.name = name; }

	public String getSubSummary() { return subSummary; }
	public void setSubSummary(String subSummary) { this.subSummary = subSummary; }
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(subno).append(name).append(subSummary);
		return sb.toString();
	}
}
